package com.ux.event
{
	import flash.events.Event;
	
	/**
	 * @author winnie
	 */	
	public class CustomEvent extends Event
	{
		public static const CLICK : String = "customClick";
		public static const OVER : String = "customOver";
		public static const CHANGE : String = "customChange";
		public static const EXPERIENCE_CHANGE : String = "experienceChange";
		public static const EXPERIENCE_GUIDE : String = "experienceGuide";
		public static const INTRO_COMPLETE : String = "introComplete";
		public static const REMOTE_CONTROLLER : String = "remoteController";
		public static const LOGIN_CLICKED : String = "loginClicked";
		
		/**
		 * 이벤트 발생시 전달할 데이터
		 */
		public var data:Object;
		
		
		public function CustomEvent( type:String, data:Object=null, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			this.data = data;
		}
		
		override public function clone():Event
		{
			return new CustomEvent( type, data, bubbles, cancelable );
		}
	}
}









